package com.moli.iov.notify.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author wanghualin
 * @since 2019-10-08
 */
@TableName("notice_mail")
public class NoticeMail implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId(type = IdType.AUTO)
	private Long id;

	/**
	 * 邮件类型（1：报警、2：控车）
	 */
	@TableField(value="mail_type")
	private Integer mailType;

	/**
	 * 邮件类型关联id
	 */
	@TableField(value="mail_code")
	private Integer mailCode;

	/**
	 * 发件人
	 */
	@TableField(value="mail_from")
	private String mailFrom;

	/**
	 * 收件人
	 */
	@TableField(value="mail_to")
	private String mailTo;

	/**
	 * 主题
	 */
	@TableField(value="mail_subject")
	private String mailSubject;

	/**
	 * 邮件内容
	 */
	private String content;

	/**
	 * 状态：1、成功 0、失败
	 */
	private Integer status;

	/**
	 * 创建时间
	 */
	@TableField(value="create_time")
	private Date createTime;

	/**
	 * 修改时间
	 */
	@TableField(value="modify_time")
	private Date modifyTime;

	/**
	 * 企业id
	 */
	@TableField(value="company_id")
	private Integer companyId;



	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getMailType() {
		return mailType;
	}

	public void setMailType(Integer mailType) {
		this.mailType = mailType;
	}

	public Integer getMailCode() {
		return mailCode;
	}

	public void setMailCode(Integer mailCode) {
		this.mailCode = mailCode;
	}

	public String getMailFrom() {
		return mailFrom;
	}

	public void setMailFrom(String mailFrom) {
		this.mailFrom = mailFrom;
	}

	public String getMailTo() {
		return mailTo;
	}

	public void setMailTo(String mailTo) {
		this.mailTo = mailTo;
	}

	public String getMailSubject() {
		return mailSubject;
	}

	public void setMailSubject(String mailSubject) {
		this.mailSubject = mailSubject;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

}
